package com.web.activiti.mapper;

import com.web.activiti.pojo.EmployeeCustom;
import com.web.activiti.pojo.SysPermission;
import com.web.activiti.pojo.SysRole;
import com.web.activiti.pojo.TreeMenu;

import java.util.List;

public interface SysPermissionCustomMapper {

    List<TreeMenu> findMenuList();


    List<SysPermission> getSubMenu();

    List<SysPermission> findPermissionListByUserId (String id);


    List<EmployeeCustom> findUserAndRoleList();

    SysRole findRoleAndPermissionListByUserId(String userId);

    List<SysPermission> findPermssionByRoleId (String roleId);
}
